projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9e15cc
)
Garmin compilation fix.
author
robertl
<robertl>
Tue, 16 Sep 2008 20:18:26 +0000
(20:18 +0000)
committer
robertl
<robertl>
Tue, 16 Sep 2008 20:18:26 +0000
(20:18 +0000)
garmin.c
patch
|
blob
|
history
diff --git
a/garmin.c
b/garmin.c
index 98269fd7f8c2d421ba9795e4246eb68d81cb166c..9a8eb738977dbfe3d21ab4f2227b5382cd0f0375 100644
(file)
--- a/
garmin.c
+++ b/
garmin.c
@@
-47,6
+47,7
@@
static char *deficon = NULL;
static char *category = NULL;
static char *categorybitsopt = NULL;
static int categorybits;
+static int receiver_must_upper = 1;
static ff_vecs_t *gpx_vec;
@@
-971,7
+972,7
@@
route_waypt_pr(const waypoint *wpt)
for (s = wpt->shortname; *s; s++) {
int c = *s;
if (receiver_must_upper && isalpha(c)) c = toupper(c);
- if (strchr(valid_waypt_char, c)) {
+ if (strchr(valid_waypt_char
s
, c)) {
*d++ = c;
}
}